home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Delphi Informant Complete 1995 - 2000
/
Delphi Informant Complete 1995 to 2000.iso
/
Delphi Informant Magazine Complete Works SOURCE CODE 1995.rar
/
1995
/
SEP
/
CC9509
/
main.pas
< prev
Wrap
Pascal/Delphi Source File
|
1995-03-21
|
720b
|
45 lines
unit Main;
{ Program copyright (c) 1995 by Charles Calvert }
{ Project Name: }
{ Working with strings, working with the Move command }
interface
uses
SysUtils, WinTypes, WinProcs,
Messages, Classes, Graphics,
Controls, Forms, Dialogs,
StdCtrls;
type
TForm1 = class(TForm)
Button1: TButton;
Edit1: TEdit;
procedure Button1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.DFM}
procedure TForm1.Button1Click(Sender: TObject);
var
S1,S2: string;
begin
S1 := 'Heebee Gee Bees';
Move(S1[12], S2[1], 4);
S2[0] := #4;
Edit1.Text := S2;;
end;
end.